libxl: Do not trust backend for disk in getinfo
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 29 Apr 2016 18:10:45 +0000 (19:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 2 Jun 2016 14:53:29 +0000 (15:53 +0100)
commit29225b2973c3c5b7ffffc2dc8a972337a37b3283
treee2448ef0eea5d73778fecfe0966735e816f62d59
parente4a4a8495733f5bed64f8847642f1c182c04e3f4
libxl: Do not trust backend for disk in getinfo

Do not read the frontend path out of the backend.  We have it in our
hand.  Likewise the guest (frontend) domid was one of our parameters (!)

This is part of XSA-178.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c